package com.dhcc.sds.standard.dao;

import java.util.List;
import java.util.Map;

import com.dhcc.core.framework.result.node.ZTreeNode;
import org.apache.ibatis.annotations.Param;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.sds.standard.entity.SdsStandSourceEntity;

/**
 * 数据源定义
 * 
 * @ClassName: SdsStandSourceMapper
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-03-22 10:09:52
 */
public interface SdsStandSourceMapper  extends BaseMapper<SdsStandSourceEntity> {
	
    List<SdsStandSourceEntity> list(@Param("map")Map<String, Object> map);
    List<SdsStandSourceEntity> page(@Param("page") Page<SdsStandSourceEntity> page,@Param("map")Map<String, Object> map);

    List<ZTreeNode> tree();

    String selectSourceNameByDic(@Param("id") Long id);

    String selectSourceNameByDicSub(@Param("id") Long id);
}
